package com.wanwu.channel.remote.allinpay.http.req;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @ClassName TLRefundReq
 * @Description 通联退款请求
 * @Author husheng
 * @Date 2020-01-15 21:10
 */
@Data
public class TLRefundReq extends TLBaseReq{

    private static final long serialVersionUID = 6669047953842777174L;

    //退款金额
    @JSONField(name = "trxamt")
    private String trxAmt;

    //商户退款订单号
    @JSONField(name = "reqsn")
    private String reqSn;

    //原交易订单号
    @JSONField(name = "oldreqsn")
    private String oldReqSn;

    //原交易流水
    @JSONField(name = "oldtrxid")
    private String oldTrxId;

    //备注
    @JSONField(name = "remark")
    private String remark;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}
